<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    body {
      margin: 0;
      padding: 0;
    }

    .flex-container{
        width: 100%;
        background-color: snow;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        align-items: center;
        margin: 30px auto;
        flex:1;
    }

    .flex-item{
        width: 150px;
        height: 190px;
        /* background-color: skyblue; */
    }

    .flex-item .item-main{
        width: 150px;
        height: 150px;
        position: relative;
        margin: 0;
    }

    .flex-item .item-main::after{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0);
        border-radius: 5px;
    }

    .flex-item:hover .item-main::after{
        background-color: rgba(0, 0, 0, .2);
    }

    .flex-item .item-main img{
        width: 150px;
        height: 150px;
        display: inline-block;
        border-radius: 5px;
    }

    .flex-item .item-main .play-num{
        position: absolute;
        bottom: 0;
        left: 0;
        color: white;
        padding: 5px 10px;
        font-size: 14px;
        z-index: 2;
    }

    .flex-item .item-main .play-num::before{
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        background: url("/src/img/flex/icon_play.png") no-repeat center;
        background-size: cover;
        margin-right: 2px;
        z-index: 2;
    }

    .flex-item p{
        text-align: 20px;
        color: #333;
        font-size: 12px;
        margin: 3px;
    }
</style>
<body>
    <div class="flex-container">
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-01.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-02.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-03.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-04.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
    </div>

    <div class="flex-container">
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-04.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-06.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-07.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
        <div class="flex-item">
            <div class="item-main">
                <img src="/src/img/flex/flex-08.jpg" alt="">
                <div class="play-num">2444.0万</div>
            </div>
            <p>睡眠:Delta脑波电脑音乐减压深度睡眠</p>
        </div>
    </div>
</body>
</html>